/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.jrcrm.entity.business;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName 〈DeptSet>
 * @Description 部门设置实体
 * @Author 罗金
 * @Date 2017/11/3 11:37
 */
@Entity
@Table(name = "pub_dept_set")
public class DeptSet extends BaseEntity {


    /**
     * 部门ID
     */
    @Column(name = "dept_id")
    private Long deptId;

    /**
     * 是否开启接单 1开启 0不开启
     */
    @Column(name="is_order")
    private Integer isOrder;
    /**
     * 是否开启接单 1开启 0不开启
     */
    @Column(name="is_grab_order")
    private Integer isGrabOrder;

    /**
     * 是否开启值班 1开启 0不开启
     */
    @Column(name="is_duty")
    private Integer isDuty;


    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Integer getIsOrder() {
        return isOrder;
    }

    public void setIsOrder(Integer isOrder) {
        this.isOrder = isOrder;
    }

    public Integer getIsGrabOrder() {
        return isGrabOrder;
    }

    public void setIsGrabOrder(Integer isGrabOrder) {
        this.isGrabOrder = isGrabOrder;
    }

    public Integer getIsDuty() {
        return isDuty;
    }

    public void setIsDuty(Integer isDuty) {
        this.isDuty = isDuty;
    }
}